<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
	include('user_type/system.php');
	include('access/login_functions.php');
?>

<head>	
	<link rel="stylesheet" type="text/css" href="style_new.css">

	<title>Image Results</title>
	
 
</head>
<body>

<div class="above_body"> <!-- closing tag is in template navbar -->
	<div id="header" class="floatcontainer doc_header">
		<div><a name="top" href="" class="logo-image"><img src="images\QUESTwtrl2.png"  title=""></a></div>
			<div id="toplinks" class="toplinks">
			
				<ul class="nouser">
				
					<li><a href="" rel="nofollow">Register</a></li>
				
					<li>
					
						<form id="navbar_loginform" action="access/login.php" method="post" >
					<input type="hidden" name="currentPage" value="<?php echo System::curPageName(); ?>" />
						<fieldset id="logindetails" class="logindetails">
							<div>
								<div>
							
						<?php // check if user is logged in
							if(isset($_SESSION['user']))
							{	$user = $_SESSION['user'];
								// if so, display username with tools
								echo "<div style=\"font-size: 16px; font-weight: bold;\">";
								echo "Welcome, $user <br />";
								echo "<a href=\"access/logout.php\">Log Out</a>";
								echo "<a href=\"\">myTools</a>";
								echo "<a href=\"\">myProfile</a>";
								
								echo "</div>";
							}
							else
							{	// otherwise, display login form
								echo "<input type=\"text\" class=\"textbox default-value\" name=\"user\" id=\"navbar_username\" size=\"10\" tabindex=\"101\" value=\"Username\"> ";
								echo "<input type=\"text\" class=\"textbox default-value\" tabindex=\"102\" name=\"pass\" id=\"navbar_password_hint\" size=\"10\" value=\"Password\" style=\"display: inline; \"> ";
								echo "<input type=\"submit\" class=\"loginbutton\" tabindex=\"104\" value=\"Log in\" title=\"Enter your username and password in the boxes provided to login.\" accesskey=\"s\">";
							}
						?>
					</li>
				</ul>
			</div>
	</div> 
	<div id="navbar" class="navbar">

		<ul id="navtabs" class="navtabs floatcontainer">					
		</ul>
	</div>
</div><!-- closing div for above_body -->
 
 
<div style="padding:5px">
	<center>
		<input type="text" style="font-size: 13pt" name="txtsearch" value="Intel" size="65">
		<input type="submit"  style="font-size: 11pt; text-align:center; height: 27px; width: 190px" class="button" value="Search" size="20">
	</center>
</div>

<div class="article_block">
	<h2 class="blockhead">Search Results</h2>			
	<div class="album">
		<div class="imageSingle">
			<div class="image"><img src="images\intel1.jpg"/></div>
			<div class="footer">
				<ul>
					<li><u>Intel Inside</u></li>
					<li style="color:#00FFFF">10KB - 150x150</li>
				</ul>
			</div>
		</div>
		<div class="imageSingle">
			<div class="image"><img src="images\intel2.jpg"/></div>
			<div class="footer"><ul>
					<li><u>Intel Extreme</u></li>
					<li style="color:#00FFFF">2KB - 150x150</li>
				</ul></div>
		</div>
		<div class="imageSingle">
			<div class="image"><img src="images\intel3.jpg"/></div>
			<div class="footer"><ul>
					<li><u>Intel Core i7</u></li>
					<li style="color:#00FFFF">3KB - 150x150</li>
				</ul></div>
		</div>
		<div class="imageSingle">
			<div class="image"><img src="images\intel4.jpg"/></div>
			<div class="footer"><ul>
					<li><u>Intel Core i7</u></li>
					<li style="color:#00FFFF">3KB - 150x150</li>
				</ul></div>
		</div>
		<div class="imageSingle">
			<div class="image"><img src="images\intel5.jpg"/></div>
			<div class="footer"><ul>
					<li><u>Intel XEON</u></li>
					<li style="color:#00FFFF">3KB - 150x150</li>
				</ul></div>
		</div>
		<div class="imageSingle">
			<div class="image"><img src="images\intel6.jpg"/></div>
			<div class="footer">
				<ul>
					<li><u>Intel Core i3</u></li>
					<li style="color:#00FFFF">3KB - 150x150</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<div id="footer" class="floatcontainer footer">

		<center><a href="">Contact WebMaster</a></center>

</div>
 </body></html>